package com.youkeyi.ddy.cloud.common.api.basic.crm.follow;

import com.youkeyi.ddy.cloud.common.api.basic.crm.follow.dto.CrmCustomerOrderFollowUpListCloudDto;
import com.youkeyi.ddy.cloud.common.api.basic.crm.follow.param.CrmCustomerOrderFollowUpCreateCloudParam;
import com.youkeyi.ddy.cloud.common.api.basic.crm.follow.param.CrmCustomerOrderFollowUpDeleteCloudParam;
import com.youkeyi.ddy.cloud.common.api.basic.crm.follow.param.CrmCustomerOrderFollowUpQueryCloudParam;
import com.youkeyi.ddy.cloud.common.api.basic.crm.follow.param.CrmCustomerOrderFollowUpUpdateCloudParam;
import com.youkeyi.ddy.cloud.common.response.ResponseContent;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * CrmCustomerCloudServiceFallback
 *
 * @Author liuxiawang
 * @Date 2024/3/1 10:54 AM
 * @Location shenzhen.china
 */
@Component
@RequestMapping("/crm/customer/order/follow/fallback")
public class CrmCustomerOrderFollowUpCloudServiceFallback implements CrmCustomerOrderFollowUpCloudService {

    @Override
    public CrmCustomerOrderFollowUpListCloudDto query(CrmCustomerOrderFollowUpQueryCloudParam param) {
        return new CrmCustomerOrderFollowUpListCloudDto(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent create(CrmCustomerOrderFollowUpCreateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent update(CrmCustomerOrderFollowUpUpdateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent delete(CrmCustomerOrderFollowUpDeleteCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }
}
